package cn.getech.data.development.mapper;

import cn.getech.data.development.entity.BdpVersion;
import cn.getech.data.development.model.qo.BdpVersionQO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Set;

/**
 * <p>
 * 打包的版本 Mapper 接口
 * </p>
 *
 * @author hujz
 * @since 2020-06-30
 */
@Mapper
public interface BdpVersionMapper extends BaseMapper<BdpVersion> {
    IPage<BdpVersion> selectListPage(Page<BdpVersion> page, @Param("bdpVersionQO") BdpVersionQO bdpVersionQO);

    void batchUpdateIsRocks(@Param("pathNames") Set<String> pathNames);

    List<BdpVersion> selectByUpZipTime(@Param("procId") Integer procId, @Param("searchCreateTime")LocalDateTime searchCreateTime);
}
